package com.yn.club.auth.application.convert;


import com.yn.club.auth.domain.entity.AuthPermissionDO;
import java.util.List;
import com.yn.club.auth.application.dto.AuthPermissionDTO;
import com.yn.club.auth.application.request.AuthPermissionSaveRequest;
import com.yn.club.auth.application.request.AuthPermissionQueryRequest;
import org.mapstruct.Mapper;
import com.yn.club.common.util.MapStructUtil;
/**
 * (AuthPermission)DTO和DO转换
 *
 * @author YN
 * @since 2025-01-22 16:44:31
 */
@Mapper(componentModel = "spring", uses = {MapStructUtil.class})
public interface AuthPermissionApplicationConverter {

  AuthPermissionDTO convertDoToDto(AuthPermissionDO ojb);
  
  List<AuthPermissionDTO> convertDoToDto(List<AuthPermissionDO> ojbs);
  
  AuthPermissionDO convertDtoToDo(AuthPermissionDTO ojb);
  
  List<AuthPermissionDO> convertDtoToDo(List<AuthPermissionDTO> ojbs);
  
  AuthPermissionDO convertSaveRequestToDo(AuthPermissionSaveRequest ojb);
  
  AuthPermissionDO convertQueryRequestToDo(AuthPermissionQueryRequest ojb);
  
  
}

